package com.quaidi.smartlocker.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quaidi.smartlocker.entity.OperationLog;

/**
 * 操作日志Service接口
 * 
 * @author QuaiDi
 * @since 2025-08-26
 */
public interface OperationLogService extends IService<OperationLog> {

    /**
     * 记录操作日志
     * 
     * @param operationType 操作类型
     * @param operator 操作员
     * @param targetId 目标ID
     * @param targetType 目标类型
     * @param operationDesc 操作描述
     * @param operationResult 操作结果
     * @param ipAddress IP地址
     */
    void recordLog(String operationType, String operator, Long targetId, String targetType, 
                   String operationDesc, String operationResult, String ipAddress);
}